﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class IoTbUploadBillMxxmNew
    {
        public int NationalId { get; set; }
        public long? RegNo { get; set; }
        /// <summary>
        /// 费用明细流水号T
        /// </summary>
        public string? FeedetlSn { get; set; }
        /// <summary>
        /// 原费用流水号
        /// </summary>
        public string? InitFeedetlSn { get; set; }
        /// <summary>
        /// 就诊 ID T
        /// </summary>
        public string? MdtrtId { get; set; }
        /// <summary>
        /// 医嘱号
        /// </summary>
        public string? DrordNo { get; set; }
        /// <summary>
        /// 人员编号 T
        /// </summary>
        public string? PsnNo { get; set; }
        /// <summary>
        /// 医疗类别T
        /// </summary>
        public string? MedType { get; set; }
        /// <summary>
        /// 费用发生时间T
        /// </summary>
        public DateTime? FeeOcurTime { get; set; }
        /// <summary>
        /// 医疗目录编码T
        /// </summary>
        public string? MedListCodg { get; set; }
        /// <summary>
        /// 医药机构目录编码T
        /// </summary>
        public string? MedinsListCodg { get; set; }
        /// <summary>
        /// 明细项目费用总额T
        /// </summary>
        public decimal? DetItemFeeSumamt { get; set; }
        /// <summary>
        /// 数量T
        /// </summary>
        public decimal? Cnt { get; set; }
        /// <summary>
        /// 单价T
        /// </summary>
        public decimal? Pric { get; set; }
        /// <summary>
        /// 开单科室编码T
        /// </summary>
        public string? BilgDeptCodg { get; set; }
        /// <summary>
        /// 开单科室名称T
        /// </summary>
        public string? BilgDeptName { get; set; }
        /// <summary>
        /// 开单医生编码T
        /// </summary>
        public string? BilgDrCodg { get; set; }
        /// <summary>
        /// 开单医师姓名T
        /// </summary>
        public string? BilgDrName { get; set; }
        /// <summary>
        /// 受单科室编码
        /// </summary>
        public string? AcordDeptCodg { get; set; }
        /// <summary>
        /// 受单科室名称
        /// </summary>
        public string? AcordDeptName { get; set; }
        /// <summary>
        /// 受单医生编码
        /// </summary>
        public string? OrdersDrCode { get; set; }
        /// <summary>
        /// 受单医生姓名
        /// </summary>
        public string? OrdersDrName { get; set; }
        /// <summary>
        /// 医院审批标志T
        /// </summary>
        public string? HospApprFlag { get; set; }
        /// <summary>
        /// 中药使用方式
        /// </summary>
        public string? TcmdrugUsedWay { get; set; }
        /// <summary>
        /// 外检标志
        /// </summary>
        public string? EtipFlag { get; set; }
        /// <summary>
        /// 外检医院编码
        /// </summary>
        public string? EtipHospCode { get; set; }
        /// <summary>
        /// 出院带药标志
        /// </summary>
        public string? DscgTkdrugFlag { get; set; }
        /// <summary>
        /// 生育费用标志
        /// </summary>
        public string? MatnFeeFlag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Memo { get; set; }
        /// <summary>
        /// 组套编号
        /// </summary>
        public string? CombNo { get; set; }
        /// <summary>
        /// 字段扩展
        /// </summary>
        public string? ExpContent { get; set; }
        /// <summary>
        /// 费用明细流水号
        /// </summary>
        public string? ResponseFeedetlSn { get; set; }
        /// <summary>
        /// 明细项目费用总额
        /// </summary>
        public decimal? ResponseDetItemFeeSumamt { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? ResponseCnt { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? ResponsePric { get; set; }
        /// <summary>
        /// 定价上限金额
        /// </summary>
        public decimal? ResponsePricUplmtAmt { get; set; }
        /// <summary>
        /// 自付比例
        /// </summary>
        public decimal? ResponseSelfpayProp { get; set; }
        /// <summary>
        /// 全自费金额
        /// </summary>
        public decimal? ResponseFulamtOwnpayAmt { get; set; }
        /// <summary>
        /// 超限价金额
        /// </summary>
        public decimal? ResponseOverlmtAmt { get; set; }
        /// <summary>
        /// 先行自付金额
        /// </summary>
        public decimal? ResponsePreselfpayAmt { get; set; }
        /// <summary>
        /// 符合政策范围金额
        /// </summary>
        public decimal? ResponseInscpScpAmt { get; set; }
        /// <summary>
        /// 收费项目等级
        /// </summary>
        public string? ResponseChrgitmLv { get; set; }
        /// <summary>
        /// 医疗收费项目类别
        /// </summary>
        public string? ResponseMedChrgitmType { get; set; }
        /// <summary>
        /// 基本药物标志
        /// </summary>
        public string? ResponseBasMednFlag { get; set; }
        /// <summary>
        /// 医保谈判药品标志
        /// </summary>
        public string? ResponseHiNegoDrugFlag { get; set; }
        /// <summary>
        /// 儿童用药标志
        /// </summary>
        public string? ResponseChldMedcFlag { get; set; }
        /// <summary>
        /// 目录特项标志
        /// </summary>
        public string? ResponseListSpItemFlag { get; set; }
        /// <summary>
        /// 限制使用标志
        /// </summary>
        public string? ResponseLmtUsedFlag { get; set; }
        /// <summary>
        /// 直报标志
        /// </summary>
        public string? ResponseDrtReimFlag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ResponseMemo { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        /// <summary>
        /// 状态(0未上传1已上传2撤销上传3已结账4上传失败)
        /// </summary>
        public int? Status { get; set; }
        public int? HospitalId { get; set; }
        /// <summary>
        /// 结算id
        /// </summary>
        public string? SetlId { get; set; }
        /// <summary>
        /// 红冲原结算id
        /// </summary>
        public string? PresetlId { get; set; }
        /// <summary>
        /// 收费项目全局id
        /// </summary>
        public int GlobalId { get; set; }
        public int? ItemId { get; set; }
        /// <summary>
        /// 参保地医保区划
        /// </summary>
        public string? InsuplcAdmdvs { get; set; }
        /// <summary>
        /// 报文id
        /// </summary>
        public string? MsgId { get; set; }
        /// <summary>
        /// 失败原因
        /// </summary>
        public string? ErrMsg { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime? UploadTime { get; set; }
        public decimal? DetDeductionAmt { get; set; }
    }
}
